package com.hxw.schema.proxy;

/**
 * Created by Think on 2018/5/4.
 * 追求者类
 */
public class Proxy implements GiveGift {

    private Pursuit pursuit;

    public Proxy(SchoolGirl schoolGirl){
        pursuit = new Pursuit(schoolGirl);
    }

    public void giveFlower() {
        pursuit.giveFlower();
    }

    public void giveDolls() {
        pursuit.giveDolls();
    }

    public void giveChocolate() {
        pursuit.giveChocolate();
    }
}
